#include<bits/stdc++.h>
using namespace std;
int main(){
	char ch;
	ch = getchar();
	if('0' <= ch && ch <= '9')
		cout<<"0-9";
	else if('a' <= ch && ch <= 'z')
		cout<<"a-z";
	else if('A' <= ch && ch <= 'Z')
		cout<<"A-Z";
	else
		cout<<"other character";
	return 0;
}
